.el-form--inline .el-form-item {
  margin-right: 15px !important; //表单右边间距
}

.el-table {
  // border-radius: $appRadius !important;
  .el-table__header-wrapper,
  .el-table__fixed-header-wrapper {
    th {
      background-color: $tableHeaderBgColor !important;
      text-align: center; //表头居中
    }
  }
  td {
    text-align: center !important; //表格内容居中
  }
  // 多选列的表头--去掉半选状态
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: unset !important;
    border-color: #dcdfe6 !important;
  }
}

//表格高度
.el-table__header {
  .el-table__cell {
    padding: 10px 0 !important;
  }
}

.el-table__body {
  .el-table__cell {
    padding: 12px 0 !important;
  }
}

// 表格中斑马纹行的颜色
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background-color: $tableStripedColor !important;
}

.el-pagination {
  justify-content: center; //分页居中
}
.el-overlay-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
}
.el-dialog {
  margin: auto !important;
  border-radius: $appRadiusLg !important;

  .el-dialog__close {
    font-size: 22px;
    position: relative;
    top: 5px;
  }
}

.el-dialog__footer {
  text-align: center !important; //弹窗底部居中
}
.el-dialog__header {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 12px;
}

.el-dialog__body {
  padding: 15px 20px !important;
}

//表单间距
.el-form-item {
  margin-bottom: 24px !important;
}

//表单错误提示
.el-form-item--default .el-form-item__error {
  padding-top: 6px !important;
}

// danger按钮点击之后颜色不变淡
.el-button--danger.is-link:focus {
  color: #f56c6c !important;
}
.el-button--danger.is-link:hover {
  color: #fab6b6 !important;
}

// primary按钮禁用时，颜色应变淡
.el-button--primary.is-link.is-disabled {
  opacity: 0.6;
}

// 按钮active时的效果去掉
.btn-has-bg .el-button--primary:active,
.btn-has-bg,
el-button--primary:focus {
  border-color: #700efa !important;
  background-color: #700efa !important;
}

// 解决：el-select+multiple+filterable、tag宽度+input宽度正好到达临界值、select的高度就会无限高低切换
.el-select {
  .select-trigger {
    .el-select__input {
      min-width: 5px;
      margin-left: 10px;
    }
  }
}

.el-message-box {
  border-radius: $appRadiusLg;
}

//消息-标题、按钮居中
.el-message-box__title,
.el-message-box__btns {
  text-align: center !important;
  display: flex;
  justify-content: center;
}

.el-message-box__btns {
  padding-top: 15px;
  padding-bottom: 5px !important;
}

//消息-内容居中
.el-message-box__content {
  display: flex;
  align-items: center;
  justify-content: center;
}

//页头
.el-page-header__content {
  font-size: 15px !important;
}